package com.ys.entity.storage;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_LogisticsPaymentFee", catalog="Id")
public class TccLogisticsPaymentFee extends BaseEntity<TccLogisticsPaymentFee> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Bid", nameJava="bid", typeDataBase="varchar")
	private String bid;
	@YsField(nameDataBase="CreateChangeId", nameJava="createChangeId", typeDataBase="bigint")
	private Long createChangeId;
	@YsField(nameDataBase="EffectStock", nameJava="effectStock", typeDataBase="tinyint")
	private Integer effectStock;
	@YsField(nameDataBase="CompanyBankInfoId", nameJava="companyBankInfoId", typeDataBase="bigint")
	private Long companyBankInfoId;
	@YsField(nameDataBase="Vid", nameJava="vid", typeDataBase="varchar")
	private String vid;
	@YsField(nameDataBase="CompanyInfoVid", nameJava="companyInfoVid", typeDataBase="varchar")
	private String companyInfoVid;
	@YsField(nameDataBase="Vyhzh", nameJava="vyhzh", typeDataBase="varchar")
	private String vyhzh;
	@YsField(nameDataBase="Vkhh", nameJava="vkhh", typeDataBase="varchar")
	private String vkhh;
	@YsField(nameDataBase="Vyhzhmc", nameJava="vyhzhmc", typeDataBase="varchar")
	private String vyhzhmc;
	@YsField(nameDataBase="ProviderBid", nameJava="providerBid", typeDataBase="varchar")
	private String providerBid;
	@YsField(nameDataBase="Abbreviation", nameJava="abbreviation", typeDataBase="varchar")
	private String abbreviation;
	@YsField(nameDataBase="ProviderName", nameJava="providerName", typeDataBase="varchar")
	private String providerName;
	@YsField(nameDataBase="TaxNumber", nameJava="taxNumber", typeDataBase="varchar")
	private String taxNumber;
	@YsField(nameDataBase="BankAccountName", nameJava="bankAccountName", typeDataBase="varchar")
	private String bankAccountName;
	@YsField(nameDataBase="OpeningBank", nameJava="openingBank", typeDataBase="varchar")
	private String openingBank;
	@YsField(nameDataBase="AccountNumber", nameJava="accountNumber", typeDataBase="varchar")
	private String accountNumber;
	@YsField(nameDataBase="TotalAmount", nameJava="totalAmount", typeDataBase="decimal")
	private BigDecimal totalAmount;
	@YsField(nameDataBase="IsPublicPay", nameJava="isPublicPay", typeDataBase="tinyint")
	private Integer isPublicPay;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccLogisticsPaymentFee setId(Long id) {
		this.id = id;
		return this;
	}
	public String getBid() {
		return bid;
	}
	public TccLogisticsPaymentFee setBid(String bid) {
		this.bid = bid;
		return this;
	}
	public Long getCreateChangeId() {
		return createChangeId;
	}
	public TccLogisticsPaymentFee setCreateChangeId(Long createChangeId) {
		this.createChangeId = createChangeId;
		return this;
	}
	public Integer getEffectStock() {
		return effectStock;
	}
	public TccLogisticsPaymentFee setEffectStock(Integer effectStock) {
		this.effectStock = effectStock;
		return this;
	}
	public Long getCompanyBankInfoId() {
		return companyBankInfoId;
	}
	public TccLogisticsPaymentFee setCompanyBankInfoId(Long companyBankInfoId) {
		this.companyBankInfoId = companyBankInfoId;
		return this;
	}
	public String getVid() {
		return vid;
	}
	public TccLogisticsPaymentFee setVid(String vid) {
		this.vid = vid;
		return this;
	}
	public String getCompanyInfoVid() {
		return companyInfoVid;
	}
	public TccLogisticsPaymentFee setCompanyInfoVid(String companyInfoVid) {
		this.companyInfoVid = companyInfoVid;
		return this;
	}
	public String getVyhzh() {
		return vyhzh;
	}
	public TccLogisticsPaymentFee setVyhzh(String vyhzh) {
		this.vyhzh = vyhzh;
		return this;
	}
	public String getVkhh() {
		return vkhh;
	}
	public TccLogisticsPaymentFee setVkhh(String vkhh) {
		this.vkhh = vkhh;
		return this;
	}
	public String getVyhzhmc() {
		return vyhzhmc;
	}
	public TccLogisticsPaymentFee setVyhzhmc(String vyhzhmc) {
		this.vyhzhmc = vyhzhmc;
		return this;
	}
	public String getProviderBid() {
		return providerBid;
	}
	public TccLogisticsPaymentFee setProviderBid(String providerBid) {
		this.providerBid = providerBid;
		return this;
	}
	public String getAbbreviation() {
		return abbreviation;
	}
	public TccLogisticsPaymentFee setAbbreviation(String abbreviation) {
		this.abbreviation = abbreviation;
		return this;
	}
	public String getProviderName() {
		return providerName;
	}
	public TccLogisticsPaymentFee setProviderName(String providerName) {
		this.providerName = providerName;
		return this;
	}
	public String getTaxNumber() {
		return taxNumber;
	}
	public TccLogisticsPaymentFee setTaxNumber(String taxNumber) {
		this.taxNumber = taxNumber;
		return this;
	}
	public String getBankAccountName() {
		return bankAccountName;
	}
	public TccLogisticsPaymentFee setBankAccountName(String bankAccountName) {
		this.bankAccountName = bankAccountName;
		return this;
	}
	public String getOpeningBank() {
		return openingBank;
	}
	public TccLogisticsPaymentFee setOpeningBank(String openingBank) {
		this.openingBank = openingBank;
		return this;
	}
	public String getAccountNumber() {
		return accountNumber;
	}
	public TccLogisticsPaymentFee setAccountNumber(String accountNumber) {
		this.accountNumber = accountNumber;
		return this;
	}
	public BigDecimal getTotalAmount() {
		return totalAmount;
	}
	public TccLogisticsPaymentFee setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
		return this;
	}
	public Integer getIsPublicPay() {
		return isPublicPay;
	}
	public TccLogisticsPaymentFee setIsPublicPay(Integer isPublicPay) {
		this.isPublicPay = isPublicPay;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccLogisticsPaymentFee setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccLogisticsPaymentFee setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccLogisticsPaymentFee setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccLogisticsPaymentFee tccLogisticsPaymentFee(
		String bid,
		Long createChangeId,
		Integer effectStock,
		Long companyBankInfoId,
		String vid,
		String companyInfoVid,
		String vyhzh,
		String vkhh,
		String vyhzhmc,
		String providerBid,
		String abbreviation,
		String providerName,
		String taxNumber,
		String bankAccountName,
		String openingBank,
		String accountNumber,
		BigDecimal totalAmount,
		Integer isPublicPay,
		Integer status
			) {
		TccLogisticsPaymentFee entity = new TccLogisticsPaymentFee();
		entity.setBid(bid);
		entity.setCreateChangeId(createChangeId);
		entity.setEffectStock(effectStock);
		entity.setCompanyBankInfoId(companyBankInfoId);
		entity.setVid(vid);
		entity.setCompanyInfoVid(companyInfoVid);
		entity.setVyhzh(vyhzh);
		entity.setVkhh(vkhh);
		entity.setVyhzhmc(vyhzhmc);
		entity.setProviderBid(providerBid);
		entity.setAbbreviation(abbreviation);
		entity.setProviderName(providerName);
		entity.setTaxNumber(taxNumber);
		entity.setBankAccountName(bankAccountName);
		entity.setOpeningBank(openingBank);
		entity.setAccountNumber(accountNumber);
		entity.setTotalAmount(totalAmount);
		entity.setIsPublicPay(isPublicPay);
		entity.setStatus(status);
		return entity;
	}
}